﻿@model IEnumerable<MVCDemo.Models.Department>
@using MVCDemo.Models

@{
    ViewBag.Title = "DepartmentList";
}

<h2>Department List</h2>
<div style="font-family: Arial">
    <ul>
        @foreach (Department department in @Model)
        {
            <li>
                
                @Html.ActionLink(department.Name, "Index", "Employee", new {departmentid = department.Id}, null)
            </li>
        }
    </ul>
</div>
